package com.system.xingzhi.service;

import com.system.xingzhi.model.ReturnData;
import com.system.xingzhi.model.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    ReturnData deleteByPrimaryKey(String userId);

    ReturnData insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User record);

    ReturnData updateByPrimaryKey(User record);

    ReturnData selectByParameter(String keyWord, Integer pageNum, Integer pageSize);

    ReturnData login(Map<String,String> map);
}
